package com.app.service;

import com.app.common.Result;
import com.app.model.PurchaseCouponsRecord;
import com.app.model.UserModel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 * 我的购劵记录表 服务类
 * </p>
 *
 * @author yoominic
 * @since 2024-09-03
 */
public interface IPurchaseCouponsRecordService extends IService<PurchaseCouponsRecord> {

    Result buyAcount(BigDecimal money, UserModel userModel);

    Result getList(Integer id);

    Integer rechargeCallback(String outTradeNo) throws Exception;
}
